package com.aigyun.statistic.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lius
 * @since 2019-07-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_flight_real_time")
public class FlightRealTime implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Long nowTime;

    private Integer uavId;

    private Long flightSeq;

    /**
     * 订单id
     */
    private Long orderNo;

    private Integer state;

    private Double flightTime;

    private Integer longitude;

    private Integer latitude;

    private Integer height;

    private Integer altitude;

    private Integer pathAngle;

    private Integer pitchAngle;

    private Integer rollAngle;

    private Integer horizontalVelocity;

    private Integer isNozzleWork;

    private Integer nozzleDiameter;

    private Integer nozzleAngle;

    private Integer nozzlePressure;

    private Integer sprayRange;

    /**
     * 飞控序列号
     */
    private String flightControl;

    /**
     * 飞机编号
     */
    private String uavNo;

    /**
     * 植保员id
     */
    private Long tpRegNo;

    /**
     * 地面站版本号
     */
    private String appVerNo;

    /**
     * 剩余药量单位0.001升
     */
    private Integer remainDose;

    /**
     * 使用药量单位0.001升
     */
    private Integer usedDose;

    /**
     * 喷洒流速单位0.001升/分钟
     */
    private Integer curFlow;

    /**
     * 飞行面积
     */
    private Double flightArea;

    /**
     * 飞行距离
     */
    private Double flightLength;

    /**
     * 1实时轨迹 2离线轨迹
     */
    private Integer type;

    /**
     * 分段飞行面积
     */
    private Double flightAreaSection;

    /**
     * 分段飞行距离
     */
    private Double flightLengthSection;

    /**
     * 分段数
     */
    private Integer flightSection;

    /**
     * 是否修改  int 1改0未改
     */
    private Integer isChange;

    /**
     * 转弯方式 int 0协调  1定点
     */
    private Integer workTurn;

    /**
     * 作业间距
     */
    private Double workSpace;

    /**
     * 作业高度
     */
    private Double workHeight;

    /**
     * 作业速度
     */
    private Double workSpeed;

    /**
     * 作业流速
     */
    private Double workFlow;

    /**
     * 亩用量
     */
    private Double workMuUsage;

    /**
     * 定高功能 0关 1开
     */
    private Integer fixedHeightFunction;

    /**
     * 避障功能 0关1开
     */
    private Integer obstacleAvoidanceFunction;

    /**
     * 限制高度
     */
    private Double maxHeightLimi;

    /**
     * 限制距离
     */
    private Double distanceLimit;

    /**
     * 返航高度
     */
    private Double returnHeight;

    /**
     * 低电压报警值
     */
    private Double lowVoltageAlarm;

    /**
     * 严重低电压报警值
     */
    private Double seriousLowVoltageAlarm;

    /**
     * 严重低电压报警行为: 返航/降落/报警/悬停
     */
    private String seriousLowLoltageBehavio;

    /**
     * 低电压报警行为: 返航/降落/报警/悬停
     */
    private String lowVoltageBehavior;

    /**
     * 无人机投放经度
     */
    private Double pointLongitude;

    /**
     * 无人机投放纬度
     */
    private Double pointLatitude;


}
